/**
 * Created by fdg348 on 2017/11/9.
 */
var image_bath_url = $('#image_bath_url').val();
var data = [];
if(article_detail_pic.length > 0) {
	article_detail_pic.forEach(function (e, index) {
		data[index] = [];
		data[index]['img'] = image_bath_url+e;
		data[index]['title'] = index;
		data[index]['url'] = 'javascript:void(0)';
	});
}
var posterTvGrid = new posterTvGrid('posterTvGrid',{className: "posterTvGrid"},
		data
);
if($('.posterTvGrid').find('.contentHolderUnit').length>=1&&$('.posterTvGrid').find('.contentHolderUnit').length<=2){
      $('.posterTvGrid').addClass('news_banner_1');
}else{
	$('.posterTvGrid').removeClass('news_banner_1');
}

